package org.artifact.core.exception;

/**
 * @author : DengYing
 * @CreateDate : 2017年4月6日 上午11:48:34
 * @Description ：逻辑模块异常-生成环境使用，不会记录堆栈信息，去除同步。可提高10倍性能
 */
public class ArtifactProException extends AbstractArtifactException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7500560411330776848L;

	public ArtifactProException(int code, String msg) {
		super(msg);
		this.code = code;
	}
	
	
	public ArtifactProException(int code) {
		this.code = code;
	}

	@Override
	public Throwable fillInStackTrace() {
		return this;
	}
	
	
	
	
	
}
